//
//  SQPhotosView.h
//  ambition
//
//  Created by 苏青 on 2019/11/28.
//  Copyright © 2019 苏青. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDPhotoBrowser.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^photosViewBlcok)(NSArray *imgArr);

@interface SQPhotosView : UIView<UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,SDPhotoBrowserDelegate>

@property(nonatomic,assign)float btn_width;//按钮宽度
@property(nonatomic,assign)float btn_height;//按钮高度
@property(nonatomic,assign)float btn_space;//按钮之间的空隙
@property(nonatomic,assign)float btn_max;//最大的按钮数量
@property(nonatomic,strong)NSString *addImgName;//加号图片


@property(nonatomic,strong)NSMutableArray *photosArr;
@property(nonatomic,strong)UIViewController *VC;

@property(nonatomic,strong)photosViewBlcok block;//如果是纯展示图片 请不要传此参


-(void)reloadView:(NSArray *)imgArr;//可以是 url 或者 UIImage
@end

NS_ASSUME_NONNULL_END
